<template>
<div class="recentweeks">
    <el-table
            ref="multipleTable"
            :data="tableData"
            tooltip-effect="dark"
            @selection-change="handleSelectionChange"
            style="width: 100%">
        <el-table-column
                type="selection"
                width="55">
        </el-table-column>
        <el-table-column
                prop="job"
                label="职位名称">
        </el-table-column>
        <el-table-column
                prop="company"
                label="公司">
        </el-table-column>
        <el-table-column
                prop="address"
                label="工作地区">
        </el-table-column>
        <el-table-column
                prop="pay"
                label="月薪">
        </el-table-column>
        <el-table-column
                prop="date"
                label="收藏时间">
        </el-table-column>
        <el-table-column
                label="操作"
                width="150"
                fixed="right">
            <template slot-scope="scope">
                <el-button
                        size="mini"
                        type="danger"
                        @click="handleDelete(scope.$index, scope.row)">删除
                </el-button>
            </template>
        </el-table-column>
    </el-table>
</div>
</template>

<script>

    export default {
        name: 'recentweeks',
        methods:{
            handleSelectionChange(val) {
                this.multipleSelection = val;
            }
        },
        data(){
            return{
                tableData:[]
            }
        }
    }
</script>

